package com.qf.java2007.service.impl;

import com.qf.java2007.mapper.ClassInfoMapper;
import com.qf.java2007.pojo.ClassInfo;
import com.qf.java2007.service.ClassInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @Author AzureSky_X
 * @Date 2021/3/8 19:07
 * @Version 1.0
 */
@Service
@Transactional
public class ClassInfoServiceImpl implements ClassInfoService {
    @Autowired
    ClassInfoMapper classInfoMapper;
    @Override
    public List<ClassInfo> findAll() {
        return classInfoMapper.findAll();
    }

}
